<div id="article_echarts" data-controller="echarts" data-echarts-chart="<%=  chart_data.to_json %>" data-echarts-type="bar" style="width: 600px;height:400px;"></div>